
/* ===========================
   GLOBAL STYLES
=========================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch; /* iOS fix */
  scrollbar-width: thin;
  scrollbar-color: #333 #0a0a0a;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background-color: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background-color: #333;
  border-radius: 5px;
  border: 2px solid #0a0a0a;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #444;
}
::-webkit-scrollbar-track {
  background-color: #0a0a0a;
}

/* HEADINGS & TEXT */
h1 {
  text-align: center;
  font-size: 2.5rem;
  margin: 0 0 16px;
  color: #fff;
  line-height: 1.2;
}
.subtitle {
  text-align: center;
  color: #888;
  font-size: 1.2rem;
  margin: 0 0 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   CONTAINERS
=========================== */
.page-container {
  position: relative;
  background: linear-gradient(
    165deg,
    #000 0%,
    #0a0a0a 40%,
    rgba(13, 13, 13, 0.9) 100%
  );
  overflow: hidden;
}

/* Page Overlay */
.page-container::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 15px 15px;
  opacity: 0.5;
  pointer-events: none;
  animation: subtleFloat 30s linear infinite;
  z-index: 0;
}
.page-container::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(22, 82, 247, 0.12),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(79, 126, 255, 0.08),
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

/* ===========================
   BUTTONS
=========================== */
.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #4f7eff 0%, #4169e1 100%);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(79, 126, 255, 0.2);
}
.primary-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 126, 255, 0.3);
}
.primary-button:hover::before {
  left: 100%;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 12px 24px;
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.secondary-button:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

/* Subscribe Button */
.subscribe-button {
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(90deg, #4f7eff, #6b8fff);
  box-shadow: 0 4px 15px rgba(79, 126, 255, 0.2);
}
.subscribe-button:hover {
  background: linear-gradient(90deg, #3d63cc 0%, #5272cc 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 126, 255, 0.3);
}

/* YouTube Button */
.youtube-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  background: #ff0000;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.youtube-button:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.3);
}

/* ===========================
   CARDS & TAGS
=========================== */
.duration {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4f7eff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  background: rgba(79, 126, 255, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
}
.duration:hover {
  background: rgba(79, 126, 255, 0.15);
  transform: translateY(-2px);
}

.time-icon {
  font-size: 1rem;
}

.tech-pill {
  font-size: 0.875rem;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  color: #888;
  white-space: nowrap;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(82, 255, 48, 0.1);
  color: rgb(107, 255, 48);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(48, 255, 55, 0.2);
  box-shadow: 0 4px 12px rgba(62, 255, 48, 0.15);
  transition: all 0.3s ease;
}

.course-top {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   LOGO & HEADER
=========================== */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.limited-offer {
  text-align: center;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) scale(1.05);
    opacity: 0.9;
  }
}
@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes subtleFloat {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 15px 15px;
  }
}
@keyframes borderRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes shake {
  10%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  80% {
    transform: translateX(2px);
  }
  30%,
  50%,
  70% {
    transform: translateX(-4px);
  }
  40%,
  60% {
    transform: translateX(4px);
  }
}
@keyframes slideIn {
  from {
    transform: translateX(120%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slideOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(120%);
  }
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes showError {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.3);
  }
  50% {
    box-shadow: 0 15px 40px rgba(255, 59, 48, 0.5),
      0 0 80px rgba(255, 59, 48, 0.2);
  }
}
@keyframes darkRedGlow {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.6),
      0 0 80px rgba(220, 20, 60, 0.3);
  }
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes gradientShift {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%;
  }
  100% {
    background-position: 100% 100%, 100% 100%, 30px 30px;
  }
}

